﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/App.Master" Inherits="System.Web.Mvc.ViewPage<Ornament.Messages.Info>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <fieldset class="cssform">
        <legend>编辑消息内容</legend>
        <p>
            <label>
                类型</label>
            <input type="text" value="<%=Model.Type.Name%>" />
        </p>
        <p>
            <label>
                内容:
            </label>
        </p>
        <p>
            <textarea id="content"><%=Model.Content.Value%></textarea>
        </p>
    </fieldset>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">

    <script src="../../../../ckeditor/ckeditor.js" type="text/javascript"></script>

    <script type="text/javascript">
        $(document).ready(function() {
            CKEDITOR.replace('content');
        });

    </script>

</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="PageTitle" runat="server">
</asp:Content>
